#ifndef DISH_H
#define DISH_H

#include <qstring.h>

class dish
{
private:
	int no;//number of the dish
	QString name;//name of the dish
	QString type;//type of the dish
	QString feature;//feature of the dish
	QString mix;//mix of the dish
	QString picname;//the path where stores the picture of the dish
	float price;//price of the dish
public:
	dish();
	dish(int _no,const QString &_name,const QString &_type,
		const QString &_feature,const QString &_mix,
		const QString &_picname,float _price);
	explicit dish(dish& adish);
	
	//get function
	int getNo();
	QString getName();
	QString getType();
	QString getFeature();
	QString getMix();
	QString getPicname();
	float getPrice();

	//set function
	void setNo(int _no);
	void setName(QString _name);
	void setType(QString _type);
	void setFeature(QString _feature);
	void setMix(QString _mix);
	void setPicname(QString _picname);
	void setPrice(float _price);
};

#endif
